package java6681.sort.list;

import java.util.Comparator;

public class SorterByCredit6681 implements Comparator<Course6681> {
    @Override
    public int compare(Course6681 o1, Course6681 o2) {
        return o1.getCredit() - o2.getCredit();
    }
}
